package com.focusai.efairy.network.request.base;


import com.focusai.efairy.network.Response;

import org.json.JSONException;

/**
 * Created by heqingbao on 2016/8/4.
 */
public abstract class DeletePureJSONRequest<T> extends Request<T> {

    private static final String APPLICATION_JSON = "application/json";

    public DeletePureJSONRequest(String url, Response.Listener<T> listener) {
        super(Method.DELETE, url, listener);
    }

    public String getMediaType() {
        return APPLICATION_JSON;
    }

    public abstract String getPureJSON() throws JSONException;
}
